﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using SGRapidForm.Common;
using SGRapidForm.Permission.Entity;

namespace SGRapidForm.Permission.Service.Interface
{
    [ServiceContract(Namespace = "http://www.solutiongear.net/SGRapidForm/")]
    public interface IHelpService
    {
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
         bool Help_Add(Help help);
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
        Help Help_GetByKeyid(string keyid);
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
        bool Help_Update(Help help);
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
        bool Help_Delete(string keyid);
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
        List<Help> Help_PagingGetHelp(Int32 startRecord, Int32 maxRecords, String sortColumns, String filterConditions);
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
        int Help_PagingGetHelpCount(String filterConditions);
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
        bool Help_BulkDelete(string keyids);
        [OperationContract]
        [FaultContract(typeof(ServiceExceptionDetail))]
        List<Help> Help_FilteredGetAll(string filterConditions);
    }
}
